import Layout from '@/layout'

const prdRouter = {
  path: '/prd',
  component: Layout,
  redirect: '/prd/product',
  name: 'Prd',
  meta: {
    title: '产品管理',
    icon: 'el-icon-s-operation'
  },
  children: [
    {
      path: 'prd_cata',
      component: () => import('@/views/prd/prd_cata'),
      name: 'PrdProd',
      meta: { title: '产品类型', icon: 'el-icon-s-order' }
    },
    {
      path: 'prod',
      component: () => import('@/views/prd/prd_prod'),
      name: 'PrdProd',
      meta: { title: '产品定义', icon: 'el-icon-s-order' }
    },
    {
      path: 'func',
      component: () => import('@/views/prd/prd_func'),
      name: 'PrdFunc',
      meta: { title: '产品功能', icon: 'el-icon-s-grid' }
    }
  ]
}

export default prdRouter
